<#include "/include/taglib.ftl">
<@override name="title">
   角色管理-列表页
</@override>
<@override name="head">

</@override>
<@override name="body">
<div class="col-sm-12">
    <h4>角色列表</h4>
    <div id="toolbar">
        <div class="form-inline pull-left" role="form">
            <input name="search_LIKE_roleName" class="form-control w70" type="text"  placeholder="角色名称">
            <button id="search" type="submit" class="btn btn-primary">查询</button>
            <button id="clear" type="submit" class="btn btn-primary">清除</button>
        </div>
        <div class="btn-group pull-right" style="float:right" role="form" >
            <button type="button" class="btn btn-primary" onclick="add()">添加</button>
        <#--<button type="button" class="btn btn-primary" onclick="del()">删除</button>-->
        </div>
    </div>
    <table id="table"
           data-toggle="table"
           data-url="${ctx}/role/list"
           data-side-pagination="server"
           data-pagination="true"
           data-page-list="[10, 20, 50, 100, 200]"
           data-sort-name="updateTime"
           data-sort-order="desc"
           data-query-params="queryParams"
           data-icon-size="outline"
    >
        <thead>
        <tr>
        <#--<th data-field="state" data-checkbox="true"></th>-->
            <th data-field="roleName">角色名称</th>
            <th data-field="description">描述</th>
            <th data-field="createByName">创建人</th>
            <th data-field="createTime">创建时间</th>
            <th data-field="updateByName">更新人</th>
            <th data-field="updateTime" data-sortable="true">更新时间</th>
            <th data-field="id" data-formatter="formatter">操作</th>
        </tr>
        </thead>
        <tbody>

        </tbody>
    </table>
</div>
</@override>
<@override name="pageLevelPlugins">
</@override>
<@override name="script">
</@override>
<@extends name="/layouts/${layouts}.ftl"/>